import { request } from "../utils/request";

export function loginAPI(data) {
    return request({
        url: "/login",
        method: "post",
        data : data
    })
}

export function getUserInfoAPI() {
    return request({
        url: "/user/info",
        method: "get",
    })
}